package com.example.eduservice.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.eduservice.entity.EduComment;
import com.example.eduservice.entity.frontvo.CommentFrontVO;

import java.util.Map;

/**
 * @Author:tjf
 * @Description:
 */
public interface EduCommentService extends IService<EduComment> {
    void saveCourseComment(CommentFrontVO commentVO, String token);

    Map<String, Object> queryCourseComment(String courseId, String teacherId, Page<EduComment> page);
    Map<String, Object> queryCommentReplies(String replyCommentId, Page<EduComment> page);
}
